package csu.ssd.student;

import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.ComboBox;
import javafx.scene.control.TextArea;
import javafx.stage.Stage;

import java.net.URL;
import java.util.ResourceBundle;

public class shenController implements Initializable {
    @FXML
    private Button ti;

    @FXML
    private ComboBox<String> mu;

    @FXML
    private TextArea neirong;

    @FXML
    void tj(ActionEvent event) {
        Stage stage =(Stage) ti.getScene().getWindow();
        stage.close();
    }

    @Override
    public void initialize(URL location, ResourceBundle resources) {
        mu.getItems().addAll("高数", "英语", "C++", "java", "数电","汇编","数据结构","离散","概率论");

    }
}
